public IRC_OnConnect(botid) {
    new formattedOutput[100];
    format(formattedOutput, sizeof(formattedOutput), "PRIVMSG NICKSERV :IDENTIFY %s", g_configData[authPassword]);
    IRC_SendRaw(botid, formattedOutput);
    
    IRC_JoinChannel(botid, g_configData[echoChannel]);
    return true;
}